import React from 'react';
import { Switch, Route } from 'react-router-dom';
import AlertList from './AlertList';
import AlertSettings from './AlertSettings';

export default function Weakness() {
	return (
		<Switch>
			<Route exact path="/alert/list/:category" component={AlertList} />
			<Route exact path="/alert/settings/:type" component={AlertSettings} />
		</Switch>
	);
}
